package com.luobo.shiro.domain.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luobo.shiro.domain.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {

    List<Permission> getRolePermissions(@Param("roleId") Integer roleId);
}
